TITLE PROGRAMA DE ECO
.MODEL SMALL
.STACK 100h
.CODE
MAIN PROC
MOV AH, 2
MOV DL, '?'
INT 21h

MOV AH, 1
INT 21h
MOV BL, AL

MOV AH, 2
MOV DL, 0Dh
INT 21h
MOV DL, 0Ah
INT 21h

MOV DL, BL
INT 21h

MOV AH, 4Ch
INT 21h

MAIN ENDP
END MAIN